home *** CD-ROM | disk | FTP | other *** search
-
-
- NAME
- ReadLn
-
- SYNOPSIS
- ReadLn - Read Lines from a filehandle - Requires v37
-
- INPUTS
- "FILEHANDLE/N/A,LINES/N/K"
-
- FUNCTION
- ReadLn reads linesfrom a filehandle previosly opened
- with the 'Open' command. its purpose is to split the
- contents of a certain file in order to be able to
- handle it with different other commands, without a need
- of using another scripting language (like e.g. ARexx).
- ReadLn does no checks on the given filehandle, so
- it should be used carefully.
-
- RESULT
- the read lines
-
- NOTES
- ! ReadLn is highly dangerous! Do not Use it, !
- ! if U do not exactly know what U are doing! !
-
- CLI - only
-
- should compile with SAS-C
-
- BUGS
-
- EXAMPLES
- > set fh `Open Sys:S/Shell-startup`
- > Readln $fh
- alias xcopy "copy clone "
- > Close $fh
- > Unset fh
-
- AUTHOR
- Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
- noll@student.uni-kl.de
-
-
-
-